﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Domains.hq
{
    /// <summary>
    /// 栏位
    /// </summary>
    public class Fields
    {
        /// <summary>
        /// 栏位Id
        /// </summary>
        [Key]
        public int FieldId { get; set; }
        /// <summary>
        /// 栏位名称
        /// </summary>
        [StringLength(50)]
        public string FieldName { get; set; } = string.Empty;
        /// <summary>
        /// 栋舍id
        /// </summary>
        public int BedroomId { get; set; }
    }
}
